home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DTP
/
DTP_TEX
/
2850.ZIP
/
SB34TEX.ZIP
/
CODEP.AGE
< prev
next >
Wrap
Text File
|
1990-11-02
|
2KB
|
38 lines
Ä=^^c4
Ö=^^d6
Ü=^^dc
ä=^^e4
ö=^^f6
^^81=^^fc
<^^81
^^1a>^^20
<<
The sbcodep.age entries MUST end with <<
The above illustrates how to make the sbcodep.age file, which should
reside in the formats directory. Each line of the file should have
an entry which is one of three forms:
(1) x = y (2) x > y (3) <y
x and y represent character values which may be either the actual
character or lower case hexidecimal ^^dd. A single ^ is not allowed.
For case (1) both x and y must be below 32 or above 126 and not equal
to 0, 10 or 13. An entry of the form (1) in sbcodep.age results in
the character x being translated to y as sbtex reads files and
retranslated to x when sbtex writes to text files. An entry of type
(2) causes x to be translated to y when sbtex reads a file, but there
is no reverse translation; x must satisfy the same requirement as for
(1), e.g., ^^1a>^^20 causes the EOF=26 control character to be
translated to blank space: unnecessary repeated EOF's will be ignored.
The third form is only for y>127. The default output to text files
for such characters is the character itself. The entry <^^ff will result
in character 255 being output by sbtex to text files in lower case hex
form. Note that a type (1) entry will override a prior type (3) entry,
so it is better to put type (3) entries after type (1) entries.
The default output for control characters is the ^^ form, but
entries of type (1) can change this. The file sbcodep.age is read
only by INITEX; the data is stored in the FMT file, so different
FMT files may use different character mappings. If no sbcodep.age
file is present, the default character mapping is used, which sbtex
also uses for the first line to be read.